package com.suzhe.ymall.promotion.enums;

/**
 * @author suzhe
 * @date 2019/8/18
 */
public enum CouponScopeModeEnum {

    all("1", "全部"),
    category("2", "指定类目"),
    brand("3", "指定品牌"),
    product("4", "指定商品")
    ;

    private String code;
    private String desc;

    CouponScopeModeEnum(String code, String msg) {
        this.code = code;
        this.desc = msg;
    }

    public String value(){
        return this.code;
    }

    public String desc(){
        return desc;
    }
}
